package Dao;

import Entity.pet_owner;
import java.sql.SQLException;
import java.text.ParseException;
import java.util.List;

public interface PetOwnerDao {
    public List<pet_owner> AllGetPetOwner()throws SQLException;
    public pet_owner AllGetPetOwner(int id)throws SQLException;
    public void add(pet_owner p) throws SQLException, ParseException;
    public void update(pet_owner p)throws SQLException;
    public boolean delete(pet_owner p);
    public pet_owner Login(String name,String password)throws SQLException;
}

